package com.example.demo;

public class T {

	public static void main(String[] args) {
		
		 System.out.println("https://miro.medium.com/v2/resize:fit:720/format:webp/1*Dvs8E_-u7pHyEXH_L8k35w.jpeg"
				 .replaceAll("https://miro.medium.com/v2/resize:fit:(\\d+)/format:\\w+/", ""));
		 System.out.println("https://miro.medium.com/v2/resize:fit:7330/format:webp/1*Dvs8E_-u7pHyEXH_L8k35w.jpeg"
				 .replaceAll("https://miro.medium.com/v2/resize:fit:(\\d+)/format:\\w+/", ""));

	}

}
